},
_activate : function (clone, time) {
+ if (this.state > ThumbnailState.NORMAL)
+ return;
+
// a click on the already current workspace should go back to the main view
if (this.metaWorkspace == global.screen.get_active_workspace())
Main.overview.hide();
// Draggable target interface
handleDragOver : function(source, actor, x, y, time) {
+ if (this.state > ThumbnailState.NORMAL)
+ return DND.DragMotionResult.CONTINUE;
+
if (source.realWindow)
return DND.DragMotionResult.MOVE_DROP;
if (source.shellWorkspaceLaunch)
},
acceptDrop : function(source, actor, x, y, time) {
+ if (this.state > ThumbnailState.NORMAL)
+ return false;
+
if (source.realWindow) {
let win = source.realWindow;
if (this._isMyWindow(win))